package com.itheima.stock.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author CaiZhiMin
 * @created 2025/10/20 20:31
 * @description: 国内板块指数接口响应封装对象
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SectorAllVO {
    //公司数
    private int companyNum;
    //成交量
    private long tradeAmt;
    //涨跌幅
    private String code;
    //价格
    private BigDecimal avgPrice;
    //名称
    private String name;
    //日期
    private String curDate;
    //成交额
    private BigDecimal tradeVol;
    //涨跌额
    private BigDecimal updownRate;

}
